<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        table{
            width: 500px;
            height: 200px;

            /* border: 1px solid red; */

            /* 设置单元格之间的距离 */
            border-spacing: 0;

            /* 表格中相邻的边框是否合并  */
            border-collapse: collapse;
        }
        td{
            border: 1px solid red;
        }
    </style>
</head>
<body>
    <!-- <table border="1px" bordercolor="red" width="500px" height="200px" cellspacing="0"> -->
    <table>    
        <tr>
            <td>td1</td>
            <td>td2</td>
            <td>td3</td>
            <td>td4</td>
            <td>td5</td>
            <td>td6</td>
        </tr>
        <tr>
            <td>td1</td>
            <td>td2</td>
            <td>td3</td>
            <td>td4</td>
            <td>td5</td>
            <td>td6</td>
        </tr>
        <tr>
            <td>td1</td>
            <td>td2</td>
            <td>td3</td>
            <td>td4</td>
            <td>td5</td>
            <td>td6</td>
        </tr>
        <tr>
            <td>td1</td>
            <td>td2</td>
            <td>td3</td>
            <td>td4</td>
            <td>td5</td>
            <td>td6</td>
        </tr>
        <tr>
            <td>td1</td>
            <td>td2</td>
            <td>td3</td>
            <td>td4</td>
            <td>td5</td>
            <td>td6</td>
        </tr>
    </table>
</body>
</html>